package JavaMultiThreadProgramming.Ch1;

/**
 * Created by wyao on 17-3-3.
 */
public class T005_runnable {
    public static void main(String[] args) {
        Runnable runnable = new MyThread5();
        Thread myThread = new Thread(runnable);
        myThread.start();
        System.out.println("End");
    }
}

class MyThread5 implements Runnable {
    public void run() {
        System.out.println("MyThread");
    }
}